
public abstract class computer extends hWorld implements pluginable{
	boolean on;
	int storageCapacity; //in GB
	String name;
	int numberOfUSB;
	computer(boolean o, int s, String n, int no)
	{
		on = o;
		storageCapacity = s;
		name = n;
		numberOfUSB = no;
	}
	
	/**
	 * Tells you if you have enough ports for "amount" devices.
	 * @param amount
	 * @return
	 */
	boolean enoughPorts(int amount)
	{
		return amount <= numberOfUSB;
	}
	
	void doPrint()
	{
		super.printStuff("LOL I CAN HAS EXTEND");
	}
	
	/**
	 * Tells you if you have enough ports for "amount" space (in GB).
	 * @param amount
	 * @return
	 */
	boolean enoughSpace(int amount)
	{
		return amount <= storageCapacity;
	}
	
	/**
	 * Testing override with "laptop" class
	 * @return
	 */
	boolean testOverride()
	{
		return true;
	}
	
	public abstract void turnOn();
}
